package po;

import java.io.Serializable;

public class PlanPO implements Serializable{

	String flag;
	String content;
	
	public PlanPO(String flag,String content){
		this.flag = flag;
		this.content = content;
	}
	
	public String getFlag(){
		return flag;
	}

	public String getContent(){
		return content;
	}

	public String[] toList() {
		String[] result = new String[2];
		result[0] = flag;
		result[1] = content;
		return result;
	}
	
	public boolean equals(Object obj){
		PlanPO plan=(PlanPO)obj;
		if(flag.equals(plan.flag)){
			return true;
		}else{
			return false;
		}
	}
}
